package com.ssm.service;

import com.ssm.pojo.Manager;

import java.util.List;

public interface ManagerService {
    Manager query(String amount);

    List<Manager> list();

    int addManager(Manager manager);

    //按姓名查找
    List<Manager> find_name(String name);

    //按宿舍楼查找
    List<Manager> find_cdorm(String cdorm);

    int addManagerList(List<Manager> list);

    int deleteManager(String amount);

    void deleteManagerList(List<String> list);

    int updateManager(Manager manager);

    int update_pw(String amount, String password);
}
